package top.suven.base.http.Interceptor;//package com.suven.frame.server.Interceptor;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import top.suven.base.http.exception.BusinessLogicException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

@Component
public class UrlHandlerInterceptor extends HandlerInterceptorAdapter {
	private static Logger logger = LoggerFactory.getLogger(UrlHandlerInterceptor.class);


	private Map<String, String[]>  body;

    public UrlHandlerInterceptor(){}


	public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws BusinessLogicException {

//		logger.warn(" UrlHandlerInterceptor logger  ===================");
		return true;

	}


}
